package com.dyrj.base.system.apkCtrl.service;

import com.dyrj.base.system.apkCtrl.model.TCtrlAppVersion;

import com.dyrj.vo.PageResultMsg;
import com.dyrj.vo.ResultMsg;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;


/**
 * @Title: ApkCtrlService
 * @Author
 * @Date 2018年06月05日 14:29
 */
public interface ApkCtrlService {

    PageResultMsg table(TCtrlAppVersion record);

    PageResultMsg tenant(TCtrlAppVersion record);

//    JsonResult checkversion(TCtrlAppVersion record);

    ResultMsg add(TCtrlAppVersion record);

    ResultMsg uploadJarFile(MultipartFile apkfile, HttpServletRequest request);

    TCtrlAppVersion info(Long id);

    /**
     * @Title: update
     * @Description: (更新)
     * @param record
     * @return ResultMsg    返回类型
     */
    ResultMsg update(TCtrlAppVersion record);

    /**
     * @Title: delete
     * @Description: (删除成功)
     * @param id
     * @return ResultMsg    返回类型
     */
    ResultMsg delete(Long id);


}
